package com.itheima.Day02test01;

public class BMWmt  extends motorvehicles implements GPS{
    public BMWmt() {
    }

    public BMWmt(String brand, String price) {
        super("宝马摩托车", price);
    }

    @Override
    public void method1() {
        System.out.println(getBrand());
    }

    @Override
    public void GPS1() {
        System.out.println("宝马摩托车有GPS");
    }
}
